<script type="text/javascript" src="/Inc/AspBox/jsLib/md5.js"></script>
<script type="text/javascript">
var text = "123456"; //要加密的原字符串
var entext = md5(text); //加密 32位Md5
//var entext = md5(text,32); //加密 32位Md5
//var entext = md5(text,16); //加密 16位Md5

document.writeln(entext+''); //e10adc3949ba59abbe56e057f20f883e
</script>